project "Sandbox"
	kind "ConsoleApp"
	language "C++"
	staticruntime "off"

	targetdir ("%{wks.location}/build/bin/" .. outputdir .. "/%{prj.name}")
	objdir ("%{wks.location}/build/bin-int/" .. outputdir .. "/%{prj.name}")
	disablewarnings { "4251", "4244" }

	files
	{
        "premake5.lua",
		"src/**.h",
		"src/**.cpp",
		"src/**.cc",
	}

	includedirs
	{
		"%{wks.location}/Dream/src",
		"%{wks.location}/Dream/vendor",
		"%{IncludeDir.glm}",
		"%{wks.location}/Dream/vendor/spdlog/include",
		"%{IncludeDir.entt}",
	}

	links
	{
		"Dream",
		"ImGui"
	}

	filter "system:windows"
		cppdialect "C++17"
		staticruntime "Off"
		systemversion "latest"


		buildoptions { "/utf-8" }


	filter "configurations:Debug"
		defines "DM_DEBUG"
		runtime "Debug"
		symbols "On"

	filter "configurations:Release"
		defines "DM_RELEASE"
		runtime "Release"
		optimize "On"

	filter "configurations:Dist"
		defines "DM_DIST"
		runtime "Release"
		optimize "On"